package com.ruoyi.eamp.domain;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 我的参式设备使用表对象 eamp_re_mylog
 * 
 * @author ruoyi
 * @date 2024-08-08
 */
public class EampReMylog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    public EampReMylog() {
    }

    public EampReMylog(Long logId, Long logOperateBy, LocalDateTime logOperateTime, String logMethodName, Long logReId, Long delFlg) {
        this.logId = logId;
        this.logOperateBy = logOperateBy;
        this.logOperateTime = logOperateTime;
        this.logMethodName = logMethodName;
        this.logReId = logReId;
        this.delFlg = delFlg;
    }

    /** 日志id */
    private Long logId;

    /** 日志创建人 */
    @Excel(name = "日志创建人")
    private Long logOperateBy;

    /** 日志创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "日志创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime logOperateTime;

    /** 日志操作名称 */
    @Excel(name = "日志操作名称")
    private String logMethodName;

    /** 设备id */
    @Excel(name = "设备id")
    private Long logReId;

    /** 日志操作 */
    @Excel(name = "日志操作")
    private Long delFlg;

    public void setLogId(Long logId) 
    {
        this.logId = logId;
    }

    public Long getLogId() 
    {
        return logId;
    }
    public void setLogOperateBy(Long logOperateBy)
    {
        this.logOperateBy = logOperateBy;
    }

    public Long getLogOperateBy()
    {
        return logOperateBy;
    }
    public void setLogOperateTime(LocalDateTime logOperateTime)
    {
        this.logOperateTime = logOperateTime;
    }

    public LocalDateTime getLogOperateTime()
    {
        return logOperateTime;
    }
    public void setLogMethodName(String logMethodName)
    {
        this.logMethodName = logMethodName;
    }

    public String getLogMethodName()
    {
        return logMethodName;
    }
    public void setLogReId(Long logReId)
    {
        this.logReId = logReId;
    }

    public Long getLogReId()
    {
        return logReId;
    }
    public void setDelFlg(Long delFlg) 
    {
        this.delFlg = delFlg;
    }

    public Long getDelFlg() 
    {
        return delFlg;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("logId", getLogId())
            .append("logOperateBy", getLogOperateBy())
            .append("logOperateTime", getLogOperateTime())
            .append("logMethodName", getLogMethodName())
            .append("logReId", getLogReId())
            .append("delFlg", getDelFlg())
            .toString();
    }
}
